Elementor\Core\Files\Uploads_Manager B

Total Complexity 83
Dependencies 10
Dependents 6
Total lines 714
Lines of code 256
Logical lines of code 147
Comment lines 353
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
validate_file()
A
49 13 29
extract_and_validate_zip()
S
55 5 19
is_file_type_allowed()
S
57 5 17
remove_temp_file_or_dir()
S
58 5 16
save_base64_to_tmp_file()
S
56 4 19
check_filetype_and_ext()
S
60 4 13
get_allowed_file_extensions()
S
63 4 11
remove_directory_with_files()
S
62 4 11
support_unfiltered_elementor_file_uploads()
S
66 4 8
handle_elementor_upload()
S
60 3 14
get_temp_dir()
S
62 3 11
is_elementor_upload()
S
79 3 3
handle_elementor_wp_media_upload()
S
64 3 10
remove_file_or_dir()
S
69 3 7
are_unfiltered_uploads_enabled()
S
68 3 7
add_file_extension_to_allowed_extensions_list()
S
68 2 7
register_file_types()
S
64 2 10
enable_unfiltered_files_upload()
S
71 2 6
is_elementor_wp_media_upload()
S
78 2 3
is_elementor_media_upload()
S
78 2 3
create_temp_file()
S
63 2 10
set_elementor_upload_state()
S
81 1 3
register_ajax_actions()
S
79 1 3
create_unique_dir()
S
70 1 6
get_file_type_handlers()
S
79 1 3
__construct()
S
67 1 7